vendor\uvdesk\support-center-bundle\Resources\views\Knowledgebase\websiteSettings.html.twig line 1

Open in your IDE?
  1. {% if websiteDetails.favicon %}
  2.     <link rel="icon" sizes="16x16" href="{{ websiteDetails.favicon }}" />
  3. {% else %}
  4.     <link rel="icon" sizes="16x16" href="{{ asset('favicon.ico') }}" />
  5. {% endif %}
  6. <style>
  7.     {% if websiteConfiguration.pageBackgroundColor %}
  8.         body {
  9.             background: {{websiteConfiguration.pageBackgroundColor}};
  10.         }
  11.     {% endif %}
  12.     {% if websiteConfiguration.headerBackgroundColor %}
  13.         .uv-header {
  14.             background-color: {{websiteConfiguration.headerBackgroundColor}};
  15.         }
  16.     {% endif %}
  17.     {% if websiteConfiguration.bannerBackgroundColor %}
  18.         .uv-hero {
  19.             background-color: {{websiteConfiguration.bannerBackgroundColor}};
  20.         }
  21.     {% endif %}
  22.     {% if websiteConfiguration.linkColor %}
  23.         a:not(.uv-btn):not(.uv-btn-small):not(.uv-table td a) {
  24.             color: {{websiteConfiguration.linkColor}} !important;
  25.         }
  26.     {% endif %}
  27.     {% if websiteConfiguration.linkHoverColor %}
  28.         a:hover:not(.uv-btn):not(.uv-btn-small):not(.uv-table td a) {
  29.             color: {{websiteConfiguration.linkHoverColor}} !important;
  30.         }
  31.     {% endif %}
  32.     {% if websiteConfiguration.articleTextColor %}
  33.         .uv-editor p {
  34.             color: {{websiteConfiguration.articleTextColor}};
  35.         }
  36.     {% endif %}
  37. </style>
  38. {% if websiteConfiguration.customCSS %}
  39.     <style>
  40.         {{ websiteConfiguration.customCSS|raw }}
  41.     </style>
  42. {% endif %}
  43. {% if websiteConfiguration.script %}
  44.     {% if '<script' in websiteConfiguration.script and '</script>' in websiteConfiguration.script %}
  45.         {{ websiteConfiguration.script|raw }}
  46.     {% else %}
  47.         <script type="text/javascript">
  48.             {{ websiteConfiguration.script|raw }}
  49.         </script>
  50.     {% endif %}            
  51. {% endif %}